<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>京东顶部导航条</title>
    <link rel="stylesheet" href="./css/reset.css">
    <link rel="stylesheet" href="../06_font&background/fa/css/all.css">
    <style>
        .clearfix::before,
        .clearfix::after{
            content: '';
            display: table;
            clear: both;
        }
        
        a{
            text-decoration: none;
        }        

        .big-top{
            height: 30px;
            background-color: rgb(227,228,229);
            border-bottom: 1px  rgb(221,221,221) solid;
        }

        .small-top{
            width: 1190px;
            margin: 0 auto;
            line-height: 30px;
  
        }

        .small-top a{
            font-size: 12px;
            color: #999;
        }

        .small-top a:hover{
            color: rgb(241,2,21);
        }

        .location{
            float: left;
        }

        .location a{
            font-size: 12px;
            color: #999;
        }

        .location .city-list{
            width: 320px;
            height: 436px;
            background-color: #bfa;
            border: 1px ;
            margin-top: -1px;
            display: none;
        }

        .location:hover .city-list{
            display: block;
            color: white;
            
        }


        .left-menu{
            float: right;                       
        }

        .left-menu li{
            float: left;
            font-size: 12px;
            color: #999;
            margin: 0 8px;    
            
        }

        li a{
            font-size: 12px;
            color: #999;
        }

        .left-menu .nbsp{
            margin: 0 5px;
            font-size: 12px;
        }

        


    </style>
</head>
<body>
    <div class="big-top clearfix">
        <div class="small-top ">

            

            <div class="location">

                
                <i class="fa fa-map-marker-alt" aria-hidden="true" style="color: rgb(241,2,21);"></i>

                <a href="#">江西</a>

                <div class="city-list"></div>
            </div>
            
            <ul class="left-menu">
                <li>
                    <a href="#">你好，请登录</a> <a href="#" style="color: rgb(241,2,21);">免费注册</a>            
                </li>
                <li class="nbsp">|</li>
                <li>
                    <a href="#">我的订单</a>            
                </li>
                <li class="nbsp">|</li>
                <li>
                    <a href="#">我的京东 <i class="fa fa-caret-down" aria-hidden="true"></i></a>            
                </li>
                <li class="nbsp">|</li>
                <li>
                    <a href="#">京东会员</a>            
                </li>
                <li class="nbsp">|</li>
                <li>
                    <a href="#" style="color: rgb(241,2,21);">企业采购 </a><i class="fa fa-caret-down" aria-hidden="true"></i>            
                </li>
                <li class="nbsp">|</li>
                <li>
                    客户服务 <i class="fa fa-caret-down" aria-hidden="true"></i>            
                </li>
                <li class="nbsp">|</li>
                <li>
                    网站导航 <i class="fa fa-caret-down" aria-hidden="true"></i>           
                </li>
                <li class="nbsp">|</li>
                <li>
                    手机京东            
                </li>
                <li class="nbsp">|</li>
                <li>
                    <a href="#">网站无障碍 </a>            
                </li>
                


            </ul>
        </div>

    </div>
</body>
</html>